package cn.b.sky.admin.model;


import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;

/**
 * 
 * @ClassName: Resource 
 * @Description:资源实体对象  
 * @author: ZhaoXin
 * @date: 2015-7-22 下午01:48:33
 * @version V1.0  
 *
 */
public class ResourceEntity extends ImeCommon implements Serializable {

  /** 
   * @Fields serialVersionUID :序列化ID 
   */
  private static final long serialVersionUID = -8355614112806837221L;

  /**
   * 资源编号:nvarchar2(40) <Primary Key>
   */
  private String resourceCode;

  /**
   * 资源描述:nvarchar2(60)
   */
  private String resourceText;

  /**
   * WinUrl:nvarchar2(255)
   */
  private String winUrl;

  /**
   * WebUrl:nvarchar2(255)
   */
  private String webUrl;

  private String iconWinUrl;

  private String iconWebUrl;

  /**
   * 资源类型:nvarchar2(30)
   */
  private String resourceTypeECode;

  private String resourceTypeText;

  /**
   * 锁定标志:number(1)
   */
  private int lockFlag;

  public String getResourceTypeText() {
    return resourceTypeText;
  }

  public void setResourceTypeText(String resourceTypeText) {
    this.resourceTypeText = resourceTypeText;
  }

  public String getResourceCode() {
    return StringUtils.upperCase(resourceCode);
  }

  public void setResourceCode(String resourceCode) {
    this.resourceCode = StringUtils.upperCase(resourceCode);
  }

  public String getResourceText() {
    return resourceText;
  }

  public void setResourceText(String resourceText) {
    this.resourceText = resourceText;
  }

  public String getWinUrl() {
    return winUrl;
  }

  public void setWinUrl(String winUrl) {
    this.winUrl = winUrl;
  }

  public String getWebUrl() {
    return webUrl;
  }

  public void setWebUrl(String webUrl) {
    this.webUrl = webUrl;
  }

  public String getResourceTypeECode() {
    return resourceTypeECode;
  }

  public void setResourceTypeECode(String resourceTypeECode) {
    this.resourceTypeECode = resourceTypeECode;
  }

  public int getLockFlag() {
    return lockFlag;
  }

  public void setLockFlag(int lockFlag) {
    this.lockFlag = lockFlag;
  }

  public String getIconWinUrl() {
    return iconWinUrl;
  }

  public void setIconWinUrl(String iconWinUrl) {
    this.iconWinUrl = iconWinUrl;
  }

  public String getIconWebUrl() {
    return iconWebUrl;
  }

  public void setIconWebUrl(String iconWebUrl) {
    this.iconWebUrl = iconWebUrl;
  }

}
